package com.xinzhidi.system.service.impl;

import com.xinzhidi.system.mapper.UserPlotMapper;
import com.xinzhidi.system.service.IUserPlotService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 部门管理 服务实现
 *
 * @author ruoyi
 */
@Service
@RequiredArgsConstructor
public class UserPlotServiceImpl implements IUserPlotService {
    private final UserPlotMapper userPlotMapper;



    @Override
    public List<Long> getPlotIdsByUserId(Long userId) {
        return userPlotMapper.getPlotIdsByUserId(userId);
    }
}
